import Vue from 'vue'
import App from "./App"

Vue.config.productionTip = false

//导入路由
import router from './router'

//导入插件
import plugin from "./plugin"
Vue.use(plugin); //使用插件

//导入 store 公共仓库
import store from "@/store"


new Vue({
  router,  // 配置路由
  store,   //配置 store 状态
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this;
  }
  
}).$mount('#app')